package top.frsf.pattern.a_creational.b_factory.c_abstract;

import top.frsf.pattern.a_creational.b_factory.dto.air.AirCondition;
import top.frsf.pattern.a_creational.b_factory.dto.air.AirConditionA;
import top.frsf.pattern.a_creational.b_factory.dto.engine.Engine;
import top.frsf.pattern.a_creational.b_factory.dto.engine.EngineA;

/**
 * @author He Kuntao
 * @since 2024/11/21 16:31
 */
public class FactoryBMW320 implements AbstractFactory{
    @Override
    public Engine createEngine() {
        return new EngineA();
    }

    @Override
    public AirCondition createAirCondition() {
        return new AirConditionA();
    }
}
